package com.xdtech.sys.service;

import java.util.List;

import com.xdtech.common.service.IBaseService;
import com.xdtech.sys.model.DictionaryCode;
import com.xdtech.sys.vo.DictionaryCodeItem;

public interface DictionaryCodeService extends IBaseService<DictionaryCode> {
	boolean saveOrUpdateGoods(DictionaryCodeItem item);

	/**
	 * 
	 * @author max.zheng
	 * @create 2015-1-26下午9:52:12
	 * @modified by
	 * @param dictionaryId
	 * @return
	 */
	DictionaryCodeItem loadDictionaryCodeItem(Long dictionaryId);

	/**
	 * 
	 * @author max.zheng
	 * @create 2015-1-26下午10:26:58
	 * @modified by
	 * @param idList
	 */
	void deleteDictionaries(List<Long> idList);

	/**
	 * 
	 * @author max.zheng
	 * @create 2015-1-27下午11:19:09
	 * @modified by
	 * @param dictionaryCode
	 */
	void saveDictionaryCodeValues(DictionaryCode dictionaryCode);
}
